package org.com.yz.dal.dao.model;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 对账明细结果表
 * </p>
 *
 * @author wzc123
 * @since 2018-12-05
 */
@TableName("reconciliation_result_info")
public class ReconciliationResultInfo extends Model<ReconciliationResultInfo> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 开始时间
     */
    private String mchNo;
    /**
     * 0记账单对不上对账单1对账单对不上记账单
     */
    private String type;
    /**
     * 交易流水号
     */
    private String transNo;
    /**
     * 订单号
     */
    private String orderNo;
    /**
     * 事件发生金额
     */
    private Integer eventAmt;
    /**
     * 事件发生时间
     */
    private Date eventTime;
    private String remark;
    private String remark1;
    private Date createTime;
    /**
     * 平台退款单号
     */
    @TableField("platform_refund_number")
    private String platformRefundNumber;
    /**
     * 退款金额
     */
    @TableField("refund_amount")
    private String refundAmount;
    /**
     * 对账结果id
     */
    @TableField("result_id")
    private Integer resultId;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getMchNo() {
        return mchNo;
    }

    public void setMchNo(String mchNo) {
        this.mchNo = mchNo;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getTransNo() {
        return transNo;
    }

    public void setTransNo(String transNo) {
        this.transNo = transNo;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public Integer getEventAmt() {
        return eventAmt;
    }

    public void setEventAmt(Integer eventAmt) {
        this.eventAmt = eventAmt;
    }

    public Date getEventTime() {
        return eventTime;
    }

    public void setEventTime(Date eventTime) {
        this.eventTime = eventTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getRemark1() {
        return remark1;
    }

    public void setRemark1(String remark1) {
        this.remark1 = remark1;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getPlatformRefundNumber() {
        return platformRefundNumber;
    }

    public void setPlatformRefundNumber(String platformRefundNumber) {
        this.platformRefundNumber = platformRefundNumber;
    }

    public String getRefundAmount() {
        return refundAmount;
    }

    public void setRefundAmount(String refundAmount) {
        this.refundAmount = refundAmount;
    }

    public Integer getResultId() {
        return resultId;
    }

    public void setResultId(Integer resultId) {
        this.resultId = resultId;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "ReconciliationResultInfo{" +
        "id=" + id +
        ", mchNo=" + mchNo +
        ", type=" + type +
        ", transNo=" + transNo +
        ", orderNo=" + orderNo +
        ", eventAmt=" + eventAmt +
        ", eventTime=" + eventTime +
        ", remark=" + remark +
        ", remark1=" + remark1 +
        ", createTime=" + createTime +
        ", platformRefundNumber=" + platformRefundNumber +
        ", refundAmount=" + refundAmount +
        ", resultId=" + resultId +
        "}";
    }
}
